home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Lattice C v5.02 d2.adf / CompactH / libraries / dos.h < prev    next >
Text File  |  1988-10-27  |  3KB  |  31 lines

  1. €ˆLIBRARIES_DOS_H€LIBRARIES_DOS_HˆEXEC_TYPES_HŒ"exec/types.h"‡€DOSNAME "dos.library"€DOSTRUE (-1L)€DOSFALSE (0L)€MODE_OLDFILE 1005€MODE_NEWFILE 1006€MODE_READWRITE 1004€OFFSET_BEGINNING -1€OFFSET_CURRENT 0€OFFSET_END 1€OFFSET_BEGINING OFFSET_BEGINNING€BITSPERBYTE 8€BYTESPERLONG 4€BITSPERLONG 32€MAXINT 0x7FFFFFFF€MININT 0x80000000€SHARED_LOCK -2€ACCESS_READ -2€EXCLUSIVE_LOCK -1€ACCESS_WRITE -1
  2. ƒDateStamp{
  3. ’ds_Days;
  4. ’ds_Minute;
  5. ’ds_Tick;
  6. };€TICKS_PER_SECOND 50
  7. ƒFileInfoBlock{
  8. ’fib_DiskKey;
  9. ’fib_DirEntryType;
  10. „fib_FileName[108];
  11. ’fib_Protection;
  12. ’fib_EntryType;
  13. ’fib_Size;
  14. ’fib_NumBlocks;
  15. ƒDateStamp fib_Date;
  16. „fib_Comment[80];
  17. „fib_Reserved[36];
  18. };€FIBB_SCRIPT 6€FIBB_PURE 5€FIBB_ARCHIVE 4€FIBB_READ 3€FIBB_WRITE 2€FIBB_EXECUTE 1€FIBB_DELETE 0€FIBF_SCRIPT (1<<FIBB_SCRIPT)€FIBF_PURE (1<<FIBB_PURE)€FIBF_ARCHIVE (1<<FIBB_ARCHIVE)€FIBF_READ (1<<FIBB_READ)€FIBF_WRITE (1<<FIBB_WRITE)€FIBF_EXECUTE (1<<FIBB_EXECUTE)€FIBF_DELETE (1<<FIBB_DELETE)
  19. ¥¡;
  20. ¥BSTR;°OBSOLETE_LIBRARIES_DOS_H€BADDR(bptr) (((—)bptr)<<2)€BADDR(x) ((”)((—)x<<2))‡
  21. ƒInfoData{
  22. ’id_NumSoftErrors;
  23. ’id_UnitNumber;
  24. ’id_DiskState;
  25. ’id_NumBlocks;
  26. ’id_NumBlocksUsed;
  27. ’id_BytesPerBlock;
  28. ’id_DiskType;
  29. ¡id_VolumeNode;
  30. ’id_InUse;
  31. };€ID_WRITE_PROTECTED 80€ID_VALIDATING 81€ID_VALIDATED 82€ID_NO_DISK_PRESENT (-1)€ID_UNREADABLE_DISK ((()'B'<<24)|(()'A'<<16)|('D'<<8))€ID_DOS_DISK ((()'D'<<24)|(()'O'<<16)|('S'<<8))€ID_NOT_REALLY_DOS ((()'N'<<24)|(()'D'<<16)|('O'<<8)|('S'))€ID_KICKSTART_DISK ((()'K'<<24)|(()'I'<<16)|('C'<<8)|('K'))€ERROR_NO_FREE_STORE 103€ERROR_TASK_TABLE_FULL 105€ERROR_LINE_TOO_LONG 120€ERROR_FILE_NOT_OBJECT 121€ERROR_INVALID_RESIDENT_LIBRARY 122€ERROR_NO_DEFAULT_DIR 201€ERROR_OBJECT_IN_USE 202€ERROR_OBJECT_EXISTS 203€ERROR_DIR_NOT_FOUND 204€ERROR_OBJECT_NOT_FOUND 205€ERROR_BAD_STREAM_NAME 206€ERROR_OBJECT_TOO_LARGE 207€ERROR_ACTION_NOT_KNOWN 209€ERROR_INVALID_COMPONENT_NAME 210€ERROR_INVALID_LOCK 211€ERROR_OBJECT_WRONG_TYPE 212€ERROR_DISK_NOT_VALIDATED 213€ERROR_DISK_WRITE_PROTECTED 214€ERROR_RENAME_ACROSS_DEVICES 215€ERROR_DIRECTORY_NOT_EMPTY 216€ERROR_TOO_MANY_LEVELS 217€ERROR_DEVICE_NOT_MOUNTED 218€ERROR_SEEK_ERROR 219€ERROR_COMMENT_TOO_BIG 220€ERROR_DISK_FULL 221€ERROR_DELETE_PROTECTED 222€ERROR_WRITE_PROTECTED 223€ERROR_READ_PROTECTED 224€ERROR_NOT_A_DOS_DISK 225€ERROR_NO_DISK 226€ERROR_NO_MORE_ENTRIES 232€RETURN_OK 0€RETURN_WARN 5€RETURN_ERROR 10€RETURN_FAIL 20€SIGBREAKB_CTRL_C 12€SIGBREAKB_CTRL_D 13€SIGBREAKB_CTRL_E 14€SIGBREAKB_CTRL_F 15€SIGBREAKF_CTRL_C (1<<SIGBREAKB_CTRL_C)€SIGBREAKF_CTRL_D (1<<SIGBREAKB_CTRL_D)€SIGBREAKF_CTRL_E (1<<SIGBREAKB_CTRL_E)€SIGBREAKF_CTRL_F (()1<<SIGBREAKB_CTRL_F)‡